
/**
 * lu manage
 */
module diansha {

	export class lu_manage {
		private static D: lu_manage = null;
		private big_arr: Array<Array<any>> = new Array<Array<any>>();
		public constructor() {

			let arr: Array<diansha.guan_obj> = new Array<diansha.guan_obj>();
			arr.push(new diansha.guan_obj(1, "1_png", "大和尚", new shuzi(10, "n")));


			let arr2: Array<diansha.guan_obj> = new Array<diansha.guan_obj>();
			arr2.push(new diansha.guan_obj(1, "2_png", "坏蘑菇", new shuzi(15, "n")));

			this.big_arr.push(arr);
			this.big_arr.push(arr2);
		}


		/**
		 * lu:0-~
		 * guan:0-~
		 */
		public getoneguanka(lu: number, guan: number): diansha.guan_obj {
			return this.big_arr[lu][guan];
		}

		public static getinstance(): lu_manage {
			if (this.D == null) {
				this.D = new lu_manage();
			}
			return this.D;
		}

	}


}